<{ include file="default/header.inc.tpl" }>
	<div id="main">
		<{ cacheless }>
		<div id="search">
       			<div class="dt"><strong><div>文章搜索结果</div></strong><span class="more">共搜索到<span class="redcolor"> <{ $total }> </span>篇符合条件的文章</span></div>
        		<div class="dd dot">
				<ul>
					<{ section name=article loop=$searchs }>	
						<{ if $smarty.section.article.index is div by 2 }>
							<li>
						<{ else }>
							<li  class="li_bg">
						<{ /if }>
							<span style="width:270px">
							<a href="index.php?a=article&aid=<{ $searchs[article].id }>"><{ $searchs[article].title|truncate:30 }></a></span>
							<span style="width:150px">作者：
							<span class="fontcolor"><{ $searchs[article].author|truncate:12 }></span></span>
							<span style="width:150px">发布时间：
							<span class="fontcolor"><{ $searchs[article].postTime|date_format:"%Y-%m-%d" }></span></span>
							<span style="width:100px">人气：
							<span class="fontcolor"><{ $searchs[article].views }></span></span>
						</li>
					<{ sectionelse }>
						<li>没有符合条件的文章</li>
					<{ /section }>
				</ul>
				<div class="page">
					<{$fpage}>
				</div>
			</div>	
		</div>
		<{ /cacheless }>
	</div>

	<div id="sidebar">
		<div class="sidebox">
       			<div class="dt"><strong>强烈推荐</strong></div>
        		<div class="dd dot">
          			<ul>
					<{ section name=article loop=$recommends max=10 }>
						<li><a href="index.php?a=article&aid=<{ $recommends[article].id }>"><{ $recommends[article].title|truncate:25 }></a></li>
					<{ sectionelse }>
						<li>目前没有任何推荐文章</li>
					<{ /section }>
          			</ul>
			</div>
       		 </div>
		<div class="nav"> </div>
		<div class="sidebox">
       			<div class="dt"><strong>最近更新</strong></div>
        		 <div class="dd dot">
            			<ul>
					<{ section name=article loop=$news max=10 }>
						<li><a href="index.php?a=article&aid=<{ $news[article].id }>"><{ $news[article].title|truncate:25 }></a></li>
					<{ sectionelse }>
						<li>目前没有任何推荐文章</li>
					<{ /section }>
          			</ul>
			</div>
       		 </div>
		<div class="nav"> </div>
		<div class="sidebox">
       			<div class="dt"><strong>本月热点</strong></div>
        		 <div class="dd dot">
          			<ul>
					<{ section name=article loop=$hots max=10 }>
						<li><a href="index.php?a=article&aid=<{ $hots[article].id }>"><{ $hots[article].title|truncate:25 }></a></li>
					<{ sectionelse }>
						<li>目前没有任何推荐文章</li>
					<{ /section }>
          			</ul>
			</div>
       		 </div>
		<div class="nav"> </div>
	</div>

	<div class="nav"> </div>
	<{ include file="default/footer.inc.tpl" }>

